package pro1.service;

import pro1.model.ResponseBody;

public interface UserService {

	ResponseBody allUsers(String userName, String name, Integer sex, Integer dep, Integer page, Integer num);

	ResponseBody checkUserName(String userName);

	ResponseBody addOrUpdateUser(Integer userId, String userName, String name, String birth, Integer sex, Integer dep,
			String address);

	ResponseBody deleteUser(Integer userId);

	ResponseBody updatePwd(Integer userId, String oldPwd, String pwd);

	ResponseBody updatePwd(Integer userId, String pwd);

	ResponseBody allAdmins();

	ResponseBody addOrUpdateAdmin(Integer userId, String userName, String pwd, Integer characterId);
}
